From d1ecffb2a9b2df3ba5a5ce45d90aad8ae33f8ffe Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Thu, 29 Nov 2007 12:01:44 -0700 Subject: [PATCH] [IA64] Provide backing for XEN_DOMCTL_set_opt_feature Signed-off-by: Alex Williamson --- xen/arch/ia64/xen/dom0_ops.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/xen/arch/ia64/xen/dom0_ops.c b/xen/arch/ia64/xen/dom0_ops.c index 407d605385..0d52d50192 100644 --- a/xen/arch/ia64/xen/dom0_ops.c +++ b/xen/arch/ia64/xen/dom0_ops.c @@ -343,6 +343,20 @@ long arch_do_domctl(xen_domctl_t *op, XEN_GUEST_HANDLE(xen_domctl_t) u_domctl) } break; + case XEN_DOMCTL_set_opt_feature: + { + struct xen_ia64_opt_feature *optf = &op->u.set_opt_feature.optf; + struct domain *d = get_domain_by_id(op->domain); + + if (d == NULL) { + ret = -EINVAL; + break; + } + + ret = domain_opt_feature(d, optf); + } + break; + default: printk("arch_do_domctl: unrecognized domctl: %d!!!\n",op->cmd); ret = -ENOSYS; -- 2.30.2